[. . . ] 16 RS-232 protocol reference 3 4 RS-232 protocol reference RS-232 Protocol Reference RS-232 connections This guide describes how to configure the projector for RS-232 communication with an external controller, and describes the RS-232 command keywords used to send requests to the projector. Cable connections Use an RS-232 cable to connect a controller to the projector's D-sub 9-pin connector. The table below lists the connector's pin outputs. When connecting a computer to the projector, use a null-modem cable. D-Sub 9-Pin Connection Pin 3 2 5 Signal TxD RxD GND Direction data from projector to controller data from controller to projector -- Communication settings Make sure the controller device uses the following settings for RS-232 communication with the projector. 9600 baud 1 start bit + 8 data bits (D0 = LSB, D7 = MSB) + 1 stop bit no parity full duplex communication channels (no flow control) no handshaking RS-232 protocol reference 5 RS-232 protocol syntax The following describes the general elements of RS-232 protocol syntax. For details about a specific keyword, refer to the "RS-232 keyword listing" on page 10. [. . . ] For example, if BRT is set to 100 (its maximum): Request: Notification: *BRT=+<CR> *BRT=100<CR><LF> Attempts to modify a read-only setting. Ignores the request, and echoes the keyword with the current value for the setting: Request: Notification: *STAT=3<CR> *STAT=1<CR><LF> 8 RS-232 protocol reference Example -- changing input source The following simplified example shows how the projector typically responds to a request to change the active input source. Request: Notifications: *RSRC=2<CR> *RSRC=2<CR><LF> *SRC=0<CR><LF> (acknowledges request) (projector is attempting to acquire source 2, and in the interim has no valid source) (source 2 has been acquired and is now active) (brightness has been modified for source 2) (color space is not supported for this input) *SRC=2<CR><LF> *BRT=50<CR><LF> *CSPC=?<CR><LF> Example -- changing the picture mode A request to change the picture mode can take a moment to complete, and so produces a delayed notification. Request: Notifications: *PMOD=1<CR> *PMOD=0<CR><LF> *PMOD=1<CR><LF> Example -- turning on the projector Request: Notification: Request: Notifications: *STAT=?<CR> *STAT=0<CR><LF> *W<CR> *W<CR><LF> *STAT=2<CR><LF> *STAT=1<CR><LF> (echoes request) (projector enters its warm-up state) (projector enters its on state) (current setting) (current setting) (new mode is active) RS-232 protocol reference 9 RS-232 keyword listing The following table shows the RS-232 keywords supported by the projector. If the parameter listing for a particular keyword is "None, " that keyword requires no parameter. listing, each Except as noted in the keywordnot warm-up, keyword is valid only when the projector is in its on state, STAT=1 (and cool-down, or standby state). RS-232 keyword listing Keyword SRC Parameters ? Description Queries the current active input source: · 0 = no active source · 1 = VGA1 · 2 = VGA2 · 3 = composite video · 4 = S-video · 5 = component video YPbPr · 6 = RGBHV · 7 = M1 graphics Source functions RSRC 1 to 7, ? Attempts to use the specified source as the active input source, or queries the last source requested: · 1 = VGA1 · 2 = VGA2 · 3 = composite video · 4 = S-video · 5 = component video YPbPr · 6 = RGBHV · 7 = M1 graphics If the requested source is not available and AUTO is enabled, the projector scans for the next valid source; if AUTO is disabled, the projector returns the notification *SRC=0. Queries or sets input source auto-search: 0 = disabled, 1 = enabled 10 RS-232 protocol reference RS-232 keyword listing (continued) Keyword CSPC Parameters 0 to 2, ? Description Sets or queries the active color space: 0 = RGB, 1 = YPbPr, 2 = YCbCr Note: The active input source must be analog RGBHV interlaced, analog RGBHV progressive, or component progressive. Video functions PMOD 0 to 2, ? Sets or queries the picture mode: · 0 = business graphics mode · 1 = theatre video mode · 2 = super-bright mode Note: The notification sent in response to a request using PMOD indicates the current picture mode, not the requested picture mode. Once it does, a second notification is sent indicating that the requested picture mode is active. WHIT BRT CON SAT TNT CTMP SHRP KEYV 0 to 10, +, ­, ?Sets or queries the color temperature: 0 = warm, 1 = neutral, 2 = cool Sets or queries the sharpness. Sets or queries the vertical keystone: · 0 = no keystone adjustment. · ­1 to ­50: shrinks the bottom of the display. RS-232 protocol reference 11 RS-232 keyword listing (continued) Keyword KEYH Parameters ­50 to 50, +, ­, ? Description Sets or queries the horizontal keystone: · 0 = no keystone adjustment. · ­1 to ­50: shrinks the left side of the display. ASPT 0 to 3, ? Sets or queries the aspect ratio: · 0 = 1-to-1 · 1 = Best Fit · 2 = Fill · 3 = 16:9 Note: All options may not be available for all input sources. Sets or queries horizontal panning of zoomed images: · 0 (lower limit) = the left edge of the window aligns with the left edge of the screen. · 100 (upper limit) = the right edge of the window aligns with the right edge of the screen. Sets or queries vertical panning of zoomed images: · 0 (lower limit) = the top edge of the window aligns with the top edge of the screen. · 100 (upper limit) = the bottom edge of the window aligns with the bottom edge of the screen. SYNC None Automatically resynchronizes (auto-sync) the projector to the active input source. Note: The active input source must be VGA1, VGA2, analog M1, or analog RGBHV. Sets or queries the projector's position: · 0 = front table · 1 = front ceiling VERS ? [. . . ] The projector sends a notification when it enters warm-up state (STAT=2), and another when it enters the on state (STAT=1). Note: This keyword requires the projector to be in standby state (STAT=0). Note: Do not send any requests other than STAT in the time between the warm-up and on state notifications. Otherwise, unexpected results can occur. RS-232 protocol reference 15 RS-232 keyword listing (continued) Keyword STAT Parameters ? Description Queries the projector's current state: · 0 = standby state · 1 = on · 2 = warm-up state · 3 = cool-down state Note: STAT can be used anytime, regardless of the projector's state. [. . . ]